package dongshi.daddy.main;

import dongshi.daddy.service.MyPathService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ConsumerWithPathMain {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context
                = new ClassPathXmlApplicationContext("consumer-with-path.xml");
        context.start();
        MyPathService myPathService = (MyPathService) context.getBean("pathServiceInConsumerSide");
        System.err.println(myPathService.pathSayHi("xxxxxxxxxxxxx"));
    }
}
